package com.esl.dto.admin;

import com.esl.model.admin.Info;

public class Info_Dto {
	private String title;// 标题
	private String content;// 内容
	private String author;// 作者
	private String kind;// 信息类别

	public Info_Dto() {
		super();
	}

	public Info toInfo() {
		return new Info(title, content, author, kind);
	}

	/*---------------------------------------*/
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getKind() {
		return kind;
	}

	public void setKind(String kind) {
		this.kind = kind;
	}

}
